<!DOCTYPE html>
<html lang="zh-Hans">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 6.0.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"malossov.top","root":"/","scheme":"Pisces","version":"7.8.0","exturl":false,"sidebar":{"position":"right","display":"always","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
  </script>

  <meta name="description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
<meta property="og:type" content="website">
<meta property="og:title" content="MAL&#39;S_BLOG">
<meta property="og:url" content="https://malossov.top/page/2/index.html">
<meta property="og:site_name" content="MAL&#39;S_BLOG">
<meta property="og:description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
<meta property="og:locale">
<meta property="article:author" content="MALossov">
<meta property="article:tag" content="菜">
<meta property="article:tag" content="胡搞瞎搞">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="https://malossov.top/page/2/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : true,
    isPost : false,
    lang   : 'zh-Hans'
  };
</script>

  <title>MAL'S_BLOG</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="Toggle navigation bar">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">MAL'S_BLOG</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">Welcome to Malossov's Personal Archieve!</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-主页">

    <a href="/" rel="section"><i class="fa fa-home fa-fw"></i>主页</a>

  </li>
        <li class="menu-item menu-item-标签">

    <a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a>

  </li>
        <li class="menu-item menu-item-分类">

    <a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a>

  </li>
        <li class="menu-item menu-item-归档">

    <a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a>

  </li>
        <li class="menu-item menu-item-友链">

    <a href="/links/" rel="section"><i class="fa fa-link fa-fw"></i>友链</a>

  </li>

    <li> <a title="把这个链接拖到你的Chrome收藏夹工具栏中" href='javascript:(function() {
    function c() {
        var e = document.createElement("link");
        e.setAttribute("type", "text/css");
        e.setAttribute("rel", "stylesheet");
        e.setAttribute("href", f);
        e.setAttribute("class", l);
        document.body.appendChild(e)
    }

    function h() {
        var e = document.getElementsByClassName(l);
        for (var t = 0; t < e.length; t++) {
            document.body.removeChild(e[t])
        }
    }

    function p() {
        var e = document.createElement("div");
        e.setAttribute("class", a);
        document.body.appendChild(e);
        setTimeout(function() {
            document.body.removeChild(e)
        }, 100)
    }

    function d(e) {
        return {
            height : e.offsetHeight,
            width : e.offsetWidth
        }
    }

    function v(i) {
        var s = d(i);
        return s.height > e && s.height < n && s.width > t && s.width < r
    }

    function m(e) {
        var t = e;
        var n = 0;
        while (!!t) {
            n += t.offsetTop;
            t = t.offsetParent
        }
        return n
    }

    function g() {
        var e = document.documentElement;
        if (!!window.innerWidth) {
            return window.innerHeight
        } else if (e && !isNaN(e.clientHeight)) {
            return e.clientHeight
        }
        return 0
    }

    function y() {
        if (window.pageYOffset) {
            return window.pageYOffset
        }
        return Math.max(document.documentElement.scrollTop, document.body.scrollTop)
    }

    function E(e) {
        var t = m(e);
        return t >= w && t <= b + w
    }

    function S() {
        var e = document.createElement("audio");
        e.setAttribute("class", l);
        e.src = i;
        e.loop = false;
        e.addEventListener("canplay", function() {
            setTimeout(function() {
                x(k)
            }, 500);
            setTimeout(function() {
                N();
                p();
                for (var e = 0; e < O.length; e++) {
                    T(O[e])
                }
            }, 15500)
        }, true);
        e.addEventListener("ended", function() {
            N();
            h()
        }, true);
        e.innerHTML = " <p>If you are reading this, it is because your browser does not support the audio element. We recommend that you get a new browser.</p> <p>";
        document.body.appendChild(e);
        e.play()
    }

    function x(e) {
        e.className += " " + s + " " + o
    }

    function T(e) {
        e.className += " " + s + " " + u[Math.floor(Math.random() * u.length)]
    }

    function N() {
        var e = document.getElementsByClassName(s);
        var t = new RegExp("\\b" + s + "\\b");
        for (var n = 0; n < e.length; ) {
            e[n].className = e[n].className.replace(t, "")
        }
    }

    var e = 30;
    var t = 30;
    var n = 350;
    var r = 350;
    var i = "//7xuupy.com1.z0.glb.clouddn.com/tongxingSibel%20-%20Im%20Sorry.mp3";
    var s = "mw-harlem_shake_me";
    var o = "im_first";
    var u = ["im_drunk", "im_baked", "im_trippin", "im_blown"];
    var a = "mw-strobe_light";
    var f = "//s3.amazonaws.com/moovweb-marketing/playground/harlem-shake-style.css";
    var l = "mw_added_css";
    var b = g();
    var w = y();
    var C = document.getElementsByTagName("*");
    var k = null;
    for (var L = 0; L < C.length; L++) {
        var A = C[L];
        if (v(A)) {
            if (E(A)) {
                k = A;
                break
            }
        }
    }
    if (A === null) {
        console.warn("Could not find a node of the right size. Please try a different page.");
        return
    }
    c();
    S();
    var O = [];
    for (var L = 0; L < C.length; L++) {
        var A = C[L];
        if (v(A)) {
            O.push(A)
        }
    }
    })()    '>High一下</a> </li>
  </ul>
</nav>




</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content index posts-expand">
            
      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="https://malossov.top/2022/02/20/ProgramLearn/Raspberry/SystemUSE/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/uploads/avator.png">
      <meta itemprop="name" content="MALossov">
      <meta itemprop="description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="MAL'S_BLOG">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/2022/02/20/ProgramLearn/Raspberry/SystemUSE/" class="post-title-link" itemprop="url">树莓派系统基础</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>

              <time title="Created: 2022-02-20 18:00:53" itemprop="dateCreated datePublished" datetime="2022-02-20T18:00:53+08:00">2022-02-20</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">Edited on</span>
                <time title="Modified: 2022-02-22 17:27:34" itemprop="dateModified" datetime="2022-02-22T17:27:34+08:00">2022-02-22</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E7%A1%AC%E4%BB%B6/" itemprop="url" rel="index"><span itemprop="name">硬件</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="内存使用情况"><a href="#内存使用情况" class="headerlink" title="内存使用情况"></a>内存使用情况</h2><ul>
<li>查看剩余内存使用情况：<a target="_blank" rel="noopener" href="https://www.cnblogs.com/salesking/p/11109546.html">树莓派查看硬盘空间使用 - 13717607836 - 博客园 (cnblogs.com)</a>———一言以蔽之<code>df -h</code></li>
</ul>
<h2 id="系统版本"><a href="#系统版本" class="headerlink" title="系统版本"></a>系统版本</h2><ul>
<li><a target="_blank" rel="noopener" href="http://bbs.shumeipaiba.com/thread-11-1-1.html">linux版本、内核查询的常用方法 - 综合版块 - 树莓派论坛 - Powered by Discuz! (shumeipaiba.com)</a><ul>
<li>登录到服务器执行 <code>lsb_release -a</code> 即可列出所有版本信息</li>
</ul>
</li>
</ul>
<h2 id="系统的初始化"><a href="#系统的初始化" class="headerlink" title="系统的初始化"></a>系统的初始化</h2><ul>
<li>不推荐：奇巧淫技：<a target="_blank" rel="noopener" href="https://www.jianshu.com/p/e798bf6624aa">树莓派raspberry pi zero w上手笔记 - 简书 (jianshu.com)</a>———用串口通信实属离谱</li>
<li>如何<strong>联网</strong>——推荐：<a target="_blank" rel="noopener" href="https://www.cnblogs.com/syj888/p/11762702.html">树莓派zero 首次连接WiFi网络 - 在路上2019 - 博客园 (cnblogs.com)</a><br>  <strong>注意：在使用系统的时候依旧需要加入空文件ssh，否则容易出事，否则容易出事，否则不启用ssh</strong><ul>
<li>另外：在使用ssh的时候如果已经添加过公钥我的建议是直接删除这个公钥orz，不然容易出事，不然容易出事，不然容易出事……：<a target="_blank" rel="noopener" href="https://blog.csdn.net/wangguchao/article/details/85614914">(135条消息) 问题解决——SSH时出现WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!_口袋里的跳跳糖-CSDN博客</a></li>
</ul>
</li>
</ul>
<h2 id="系统的换源"><a href="#系统的换源" class="headerlink" title="系统的换源"></a>系统的换源</h2><ul>
<li><a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/98079246">教你如何给树莓派更换软件源 - 知乎 (zhihu.com)</a>———一键更新，非常丝滑。<strong>不过已经落后了，我查出来我们的是11orz</strong><ul>
<li>注意换源前查看raspberrypi的debian版本，一定要对上：<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_35768839/article/details/104751061">(135条消息) 关于Debian发行版本（树莓派系统版本）<em>经济好没有钱的博客-CSDN博客</em>树莓派查看debian版本</a>命令为<code>lsb_release -a</code></li>
</ul>
</li>
<li>真正的教程害得看这个：<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_18275789/article/details/122997715">(135条消息) 树莓派 Raspberry Pi （bullseye）更换阿里云源方法_老鱼干的博客-CSDN博客</a></li>
<li>关于64位（注意要改一下那个啥：改一下<code>buster</code>to<code>bullseye</code>：<a target="_blank" rel="noopener" href="https://blog.csdn.net/baidu_26678247/article/details/108930421">(138条消息) 树莓派4B 64位（arm64）系统配置系统源<em>SWORLD-CSDN博客</em>树莓派arm64</a><br><strong>真实命令：</strong><br>编辑 /etc/apt/sources.list 文件，这里推荐就用系统自带的 nano 命令编辑，命令如下：<br><code>sudo nano /etc/apt/sources.list</code><br>进入编辑界面，删除原有的内容，粘贴如下内容：<blockquote>
<p>deb <a target="_blank" rel="noopener" href="http://mirrors.aliyun.com/raspbian/raspbian/">http://mirrors.aliyun.com/raspbian/raspbian/</a> bullseye  main non-free contrib rpi<br>deb-src <a target="_blank" rel="noopener" href="http://mirrors.aliyun.com/raspbian/raspbian/">http://mirrors.aliyun.com/raspbian/raspbian/</a> bullseye main non-free contrib</p>
</blockquote>
</li>
<li>如果出现<code>unsigned</code>报错的情况，可以通过这篇帖子更新GPG：<a target="_blank" rel="noopener" href="https://www.cnblogs.com/DragonStart/p/8146272.html">解决linux更新apt软件源时报出GPG错误 - asml - 博客园 (cnblogs.com)</a><h2 id="系统的关机"><a href="#系统的关机" class="headerlink" title="系统的关机"></a>系统的关机</h2></li>
<li><a target="_blank" rel="noopener" href="https://www.runoob.com/linux/linux-comm-halt.html">Linux halt命令 | 菜鸟教程 (runoob.com)</a></li>
<li><code>halt</code></li>
</ul>
<h2 id="设置系统wifi的方法"><a href="#设置系统wifi的方法" class="headerlink" title="设置系统wifi的方法"></a>设置系统wifi的方法</h2><ul>
<li><a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/136463580">设置树莓派wifi的几种方式 - 知乎 (zhihu.com)</a>———单个wifi的多种方式</li>
<li>多个wifi:<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br></pre></td><td class="code"><pre><span class="line">ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev</span><br><span class="line">update_config=1</span><br><span class="line"></span><br><span class="line">network=&#123;</span><br><span class="line"> ssid=<span class="string">&quot;wo_shi_yige_wifi_ssid&quot;</span></span><br><span class="line"> scan_ssid=1</span><br><span class="line"> psk=<span class="string">&quot;wo_shi_mi_ma&quot;</span></span><br><span class="line"> priority=5</span><br><span class="line"> &#125;</span><br><span class="line"></span><br><span class="line"> network=&#123;</span><br><span class="line"> ssid=<span class="string">&quot;pi&quot;</span></span><br><span class="line"> psk=<span class="string">&quot;onlyforpi&quot;</span></span><br><span class="line"> priority=1</span><br><span class="line"> &#125;</span><br></pre></td></tr></table></figure>
</li>
</ul>
<h2 id="系统监视"><a href="#系统监视" class="headerlink" title="系统监视"></a>系统监视</h2><ul>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/xingqingly/article/details/104328570">(136条消息) 树莓派监控CPU负载，温度，内存和网络的工具htop和speedometer和s-tui_嵌入式技术在路上-CSDN博客_htop显示温度</a><ul>
<li>我采用的是<code>speedometer</code>启动命令为：<code>speedometer -r eth0 -t eth0</code>和<code>speedometer -r wlan0 -t wlan0</code></li>
</ul>
</li>
</ul>
<h2 id="免密码登录"><a href="#免密码登录" class="headerlink" title="免密码登录"></a>免密码登录</h2><ul>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/u014661152/article/details/109337818">(136条消息) vscode使用ssh密匙远程登录ssh，避免每次登录都输入密码_u014661152的博客-CSDN博客_vscode记住ssh远程密码</a><ul>
<li>主要内容就是俩密钥orz</li>
<li><a target="_blank" rel="noopener" href="https://blog.songjiahao.com/archives/262">VS Code使用ssh密钥连接linux – SAquariusの梦想屋 (songjiahao.com)</a></li>
<li><strong>备注：目前没成功</strong></li>
</ul>
</li>
</ul>
<h2 id="修改树莓派的主机名："><a href="#修改树莓派的主机名：" class="headerlink" title="修改树莓派的主机名："></a>修改树莓派的主机名：</h2><p><a target="_blank" rel="noopener" href="https://shumeipai.nxez.com/2019/02/27/how-to-change-the-hostname-of-your-raspberry-pi.html">如何修改树莓派的主机名 | 树莓派实验室 (nxez.com)</a></p>
<h2 id="树莓派的清除缓存"><a href="#树莓派的清除缓存" class="headerlink" title="树莓派的清除缓存"></a>树莓派的清除缓存</h2><ul>
<li><a target="_blank" rel="noopener" href="https://shumeipai.nxez.com/2017/12/18/how-to-modify-raspberry-pi-swap-partition.html">修改树莓派交换分区 SWAP 的正确姿势 | 树莓派实验室 (nxez.com)</a></li>
<li><a target="_blank" rel="noopener" href="https://www.cnblogs.com/pc-boke/articles/10213695.html">Linux释放cache和buffer内存空间 - 腾飞的鹰 - 博客园 (cnblogs.com)</a></li>
</ul>
<h2 id="树莓派写脚本"><a href="#树莓派写脚本" class="headerlink" title="树莓派写脚本"></a>树莓派写脚本</h2><ul>
<li><a target="_blank" rel="noopener" href="https://www.cnblogs.com/yinheyi/p/6648242.html">linux下的shell脚本（基本） - 殷大侠 - 博客园 (cnblogs.com)</a></li>
</ul>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="https://malossov.top/2022/02/20/ProgramLearn/Raspberry/rc.local%E9%97%AE%E9%A2%98/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/uploads/avator.png">
      <meta itemprop="name" content="MALossov">
      <meta itemprop="description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="MAL'S_BLOG">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/2022/02/20/ProgramLearn/Raspberry/rc.local%E9%97%AE%E9%A2%98/" class="post-title-link" itemprop="url">树莓派自启动问题</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>

              <time title="Created: 2022-02-20 18:00:53" itemprop="dateCreated datePublished" datetime="2022-02-20T18:00:53+08:00">2022-02-20</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">Edited on</span>
                <time title="Modified: 2022-03-04 19:14:42" itemprop="dateModified" datetime="2022-03-04T19:14:42+08:00">2022-03-04</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E7%A1%AC%E4%BB%B6/" itemprop="url" rel="index"><span itemprop="name">硬件</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="关于-etc-rc-local"><a href="#关于-etc-rc-local" class="headerlink" title="关于/etc/rc.local"></a>关于<strong>/etc/rc.local</strong></h2><ul>
<li>该文件为Linux下的系统启动文件。根据各种博客的总结，该文件的启动为：<strong>联网之后运行命令</strong>，并且在进入系统之后停止。</li>
<li>刚开始搜索时的发现为：可以通过这些运行代码<ul>
<li>其实可以不完全执行完，每条命令之后加<code>&amp;</code>即可。</li>
</ul>
</li>
</ul>
<h3 id="问题的出现："><a href="#问题的出现：" class="headerlink" title="问题的出现："></a>问题的出现：</h3><ul>
<li>由于引用了其他的<strong>bash</strong>脚本，而原本该程序运行的环境为<strong>sh</strong><ul>
<li>所有的报错和问题和这篇如出一辙，放上来：<a target="_blank" rel="noopener" href="https://www.codenong.com/45776003/">关于bash：修复systemd服务203 / EXEC失败(没有这样的文件或目录) | 码农家园 (codenong.com)</a></li>
<li>其他不对应的还有：<a target="_blank" rel="noopener" href="https://www.cnblogs.com/xmfdsh/p/4469577.html">Linux树莓派中/etc/rc.local不执行的问题 - 晓镜水月 - 博客园 (cnblogs.com)</a></li>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/liuwinner/article/details/91040565">(138条消息) Linux自启动脚本及解决rc.local不执行脚本问题<em>社会我大姐，人狠胸不大（^</em>^）-CSDN博客_rc.local不执行</a><h3 id="查询服务的状态："><a href="#查询服务的状态：" class="headerlink" title="查询服务的状态："></a>查询服务的状态：</h3></li>
</ul>
</li>
<li><a target="_blank" rel="noopener" href="https://www.cnblogs.com/codeit/p/14489491.html">树莓派/etc/rc.local开机启动不执行 - 盛世芳华 - 博客园 (cnblogs.com)</a><ul>
<li>即：<code>sudo systemctl status rc-local</code></li>
</ul>
</li>
</ul>
<h3 id="进程的保活"><a href="#进程的保活" class="headerlink" title="进程的保活"></a>进程的保活</h3><ul>
<li><a target="_blank" rel="noopener" href="https://www.runoob.com/linux/linux-comm-nohup.html#:~:text=Linux%20nohup%20%E5%91%BD%E4%BB%A4.%20Linux%20%E5%91%BD%E4%BB%A4%E5%A4%A7%E5%85%A8.%20nohup%20%E8%8B%B1%E6%96%87%E5%85%A8%E7%A7%B0%20no,nohup%20%E5%91%BD%E4%BB%A4%EF%BC%8C%E5%9C%A8%E9%BB%98%E8%AE%A4%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%88%E9%9D%9E%E9%87%8D%E5%AE%9A%E5%90%91%E6%97%B6%EF%BC%89%EF%BC%8C%E4%BC%9A%E8%BE%93%E5%87%BA%E4%B8%80%E4%B8%AA%E5%90%8D%E5%8F%AB%20nohup.out%20%E7%9A%84%E6%96%87%E4%BB%B6%E5%88%B0%E5%BD%93%E5%89%8D%E7%9B%AE%E5%BD%95%E4%B8%8B%EF%BC%8C%E5%A6%82%E6%9E%9C%E5%BD%93%E5%89%8D%E7%9B%AE%E5%BD%95%E7%9A%84%20nohup.out%20%E6%96%87%E4%BB%B6%E4%B8%8D%E5%8F%AF%E5%86%99%EF%BC%8C%E8%BE%93%E5%87%BA%E9%87%8D%E5%AE%9A%E5%90%91%E5%88%B0%20%24HOME%2Fnohup.out%20%E6%96%87%E4%BB%B6%E4%B8%AD%E3%80%82.">Linux nohup 命令 | 菜鸟教程 (runoob.com)</a><ul>
<li>概括一下：<code>nohup Command [ Arg … ] [　&amp; ]</code></li>
<li>进行一个删除：如果要停止运行，你需要使用以下命令查找到 nohup 运行脚本到 PID，然后使用 kill 命令来删除：<code>ps -aux | grep &quot;runoob.sh&quot;</code></li>
</ul>
</li>
</ul>
<h3 id="开机进程的注册："><a href="#开机进程的注册：" class="headerlink" title="开机进程的注册："></a>开机进程的注册：</h3><p>-<a target="_blank" rel="noopener" href="https://www.jianshu.com/p/93b6a62a8922">ubuntu20.04利用systemctl命令实现开机自启服务 - 简书 (jianshu.com)</a></p>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="https://malossov.top/2022/02/19/ProgramLearn/ComputerCommonSenses/Git_helper/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/uploads/avator.png">
      <meta itemprop="name" content="MALossov">
      <meta itemprop="description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="MAL'S_BLOG">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/2022/02/19/ProgramLearn/ComputerCommonSenses/Git_helper/" class="post-title-link" itemprop="url">Linux的软件源</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>
              

              <time title="Created: 2022-02-19 19:00:53 / Modified: 19:49:42" itemprop="dateCreated datePublished" datetime="2022-02-19T19:00:53+08:00">2022-02-19</time>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="基本的全局设置"><a href="#基本的全局设置" class="headerlink" title="基本的全局设置"></a>基本的全局设置</h2><ul>
<li><p><a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_34802511/article/details/90055273">(135条消息) git—-全局设置用户名、密码、邮箱_qq_34802511的博客-CSDN博客_git设置用户名和密码</a></p>
<ul>
<li>无法查看的原因和解决：<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_30588827/article/details/95389491">(135条消息) window上git bash运行错误记录_weixin_30588827的博客-CSDN博客</a></li>
</ul>
</li>
<li><p>解决无法连接github的问题：</p>
<ul>
<li><a target="_blank" rel="noopener" href="https://www.cnblogs.com/Archer314/p/14641310.html">解决ssh: connect to host github.com port 22: Connection refused - Biile - 博客园 (cnblogs.com)</a></li>
</ul>
</li>
</ul>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="https://malossov.top/2022/02/19/ProgramLearn/Embed/I2s/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/uploads/avator.png">
      <meta itemprop="name" content="MALossov">
      <meta itemprop="description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="MAL'S_BLOG">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/2022/02/19/ProgramLearn/Embed/I2s/" class="post-title-link" itemprop="url">STM32的I2S总线问题（未解决）</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>

              <time title="Created: 2022-02-19 04:00:53" itemprop="dateCreated datePublished" datetime="2022-02-19T04:00:53+08:00">2022-02-19</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">Edited on</span>
                <time title="Modified: 2022-02-20 01:18:28" itemprop="dateModified" datetime="2022-02-20T01:18:28+08:00">2022-02-20</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E7%A1%AC%E4%BB%B6/" itemprop="url" rel="index"><span itemprop="name">硬件</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <ul>
<li>关于I2S的接线问题：<a target="_blank" rel="noopener" href="https://www.cnblogs.com/firege/p/5805977.html">第38章 I2S—音频播放与录音输入—零死角玩转STM32-F429系列 - 野火_firege - 博客园 (cnblogs.com)</a><ul>
<li>以PCM1808接STM32F103RCT6的I2S2为例：<ul>
<li>DOUT→SD（(Serial Data)：串行数据线，用于发送或接收两个时分复用的数据通道上的数据(仅半双工模式)，如果是全双工模式，该信号仅用于发送数据。）→PB15</li>
<li>LRCK→ WS(Word Select)：字段选择线，也称帧时钟(LRC)线，表明当前传输数据的声道，不同标准有不同的定义。WS线的频率等于采样频率(FS)。→PB12</li>
<li>SCK/BCK→CK(Serial Clock)：串行时钟线，也称位时钟(BCLK)，数字音频的每一位数据都对应有一个CK脉冲，它的频率为：2<em>采样频率</em>量化位数，2代表左右两个通道数据。→PB13</li>
</ul>
</li>
</ul>
</li>
<li>另外还有： ext_SD(extend Serial Data)：扩展串行数据线，用于全双工传输的数据接收。→PB14</li>
<li>更多详情见图：![[Pasted image 20220216175041.png]]</li>
</ul>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="https://malossov.top/2022/02/19/ProgramLearn/Embed/OpenOCD/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/uploads/avator.png">
      <meta itemprop="name" content="MALossov">
      <meta itemprop="description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="MAL'S_BLOG">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/2022/02/19/ProgramLearn/Embed/OpenOCD/" class="post-title-link" itemprop="url">Clion中OpenOCD的配置（待补充）</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>

              <time title="Created: 2022-02-19 04:00:53" itemprop="dateCreated datePublished" datetime="2022-02-19T04:00:53+08:00">2022-02-19</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">Edited on</span>
                <time title="Modified: 2022-02-20 01:27:41" itemprop="dateModified" datetime="2022-02-20T01:27:41+08:00">2022-02-20</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E7%A1%AC%E4%BB%B6/" itemprop="url" rel="index"><span itemprop="name">硬件</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <p><strong>非常重要</strong>！：自己修改之后一定记得改这个不然肯定要出错！<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_43715171/article/details/118826584">(133条消息) Clion配置STM32开发环境踩坑_FILWY_M的博客-CSDN博客</a><br><strong>关于最后成功使用OpenOCD的一些个人理解</strong>：所有的连接器配置在<code>/script/target</code>里面，所有的板子的配置在<code>/script/board/</code>里面我们要做的就是把类似于<em>stm32-discovery-f3</em>里面的东西给复制下来改成我们自己需要的。<br>毕竟这玩意里面find一层套一层的，我这种笨比基本上是顶不住的。</p>
<h2 id="总之要在Board里面新建点东西，就是这样捏"><a href="#总之要在Board里面新建点东西，就是这样捏" class="headerlink" title="总之要在Board里面新建点东西，就是这样捏"></a>总之要在Board里面新建点东西，就是这样捏</h2>
      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="https://malossov.top/2022/02/19/ProgramLearn/Python/BOT/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/uploads/avator.png">
      <meta itemprop="name" content="MALossov">
      <meta itemprop="description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="MAL'S_BLOG">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/2022/02/19/ProgramLearn/Python/BOT/" class="post-title-link" itemprop="url">利用python开发基于Nonebot2的QQ机器人</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>

              <time title="Created: 2022-02-19 04:00:53" itemprop="dateCreated datePublished" datetime="2022-02-19T04:00:53+08:00">2022-02-19</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">Edited on</span>
                <time title="Modified: 2022-02-20 22:38:34" itemprop="dateModified" datetime="2022-02-20T22:38:34+08:00">2022-02-20</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E5%89%8D%E7%AB%AF/" itemprop="url" rel="index"><span itemprop="name">前端</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <p>教程见：<a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/340849952">使用 nonebot 搭建 qq 群聊机器人 - 知乎 (zhihu.com)</a></p>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="https://malossov.top/2022/02/19/ProgramLearn/Java/AboutMySQL/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/uploads/avator.png">
      <meta itemprop="name" content="MALossov">
      <meta itemprop="description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="MAL'S_BLOG">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/2022/02/19/ProgramLearn/Java/AboutMySQL/" class="post-title-link" itemprop="url">MYSQL的学习</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>

              <time title="Created: 2022-02-19 04:00:53" itemprop="dateCreated datePublished" datetime="2022-02-19T04:00:53+08:00">2022-02-19</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">Edited on</span>
                <time title="Modified: 2022-05-07 02:16:11" itemprop="dateModified" datetime="2022-05-07T02:16:11+08:00">2022-05-07</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E7%8E%AF%E5%A2%83/" itemprop="url" rel="index"><span itemprop="name">环境</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h3 id="踩过的坑"><a href="#踩过的坑" class="headerlink" title="踩过的坑"></a>踩过的坑</h3><ul>
<li>在配置mysql的时候踩过的坑还是挺多的，包括但不限于：<ul>
<li>开始装了一堆奇怪的服务，结果server的服务在终端上意外地不太好用，心态炸裂</li>
<li>曾经没有记住命令 <code>mysqld --initialize --console</code>这个命令产生时的密码，导致的后果是——登录不了，需要各种方法绕，比如：<a target="_blank" rel="noopener" href="https://blog.csdn.net/kaitu/article/details/78994893">(128条消息) Windows下忘记MySQL数据库root用户密码解决办法_Random-CSDN博客_windows忘记mysqlroot密码</a></li>
<li>在开始服务的时候没有用上管理员模式，导致结果欠佳</li>
<li>关于服务无法启动的问题：<a target="_blank" rel="noopener" href="https://blog.csdn.net/JWbonze/article/details/80241417">(128条消息) net start mysql无法启动MySQL_咕咕咕的下班时间-CSDN博客_mysql net start</a></li>
</ul>
</li>
</ul>
<h3 id="最终的选择"><a href="#最终的选择" class="headerlink" title="最终的选择"></a>最终的选择</h3><ul>
<li>最终选择的结果为：<strong>命令行下的MySQL</strong>当然这种情况的话，在配置的时候也会有不少麻烦，最后是看了这篇文章：<a target="_blank" rel="noopener" href="https://blog.csdn.net/queen00000/article/details/90727996">(128条消息) Mysql压缩包版的安装教程<em>Z2Min</em>-CSDN博客_mysql压缩包怎么安装</a>————讲的东西还比较详细，而且也是基础范围内的</li>
<li>教程一如既往还是看廖雪峰的</li>
</ul>
<h3 id="补充内容"><a href="#补充内容" class="headerlink" title="补充内容"></a>补充内容</h3><ul>
<li>关于可视化工具的选择：选择了官方的<strong>MySQLWorkbench</strong>作为可视化工具，直接上官网下载即可<ul>
<li>但是把内容汉化了，却没有保存，参考的gitee仓库为：<a target="_blank" rel="noopener" href="https://gitee.com/haozing/mysql_workbench_chinese">MySQL Workbench 汉化: MySQL Workbench 汉化 (gitee.com)</a></li>
<li>使用教程的地址：<a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/260139380">MySQL Workbench使用教程 - 知乎 (zhihu.com)</a></li>
</ul>
</li>
</ul>
<h3 id="详细使用"><a href="#详细使用" class="headerlink" title="详细使用"></a>详细使用</h3><ul>
<li><a target="_blank" rel="noopener" href="http://c.biancheng.net/view/7152.html">MySQL修改密码的3种方式 (biancheng.net)</a></li>
</ul>
<h3 id="关系模型"><a href="#关系模型" class="headerlink" title="关系模型"></a>关系模型</h3><ul>
<li>表的每一行称为记录（Record），记录是一个逻辑意义上的数据。</li>
<li>表的每一列称为字段（Column），同一个表的每一行记录都拥有相同的若干字段。</li>
</ul>
<h1 id="管理配置"><a href="#管理配置" class="headerlink" title="管理配置"></a>管理配置</h1><ul>
<li>新建用户和提权：<a target="_blank" rel="noopener" href="https://blog.csdn.net/shenhonglei1234/article/details/84786443">(93条消息) mysql版本:’for the right syntax to use near ‘identified by ‘password’ with grant option’_[shenhonglei]的博客-CSDN博客</a></li>
<li>运行SQL脚本：<code>source &#123;file&#125;</code></li>
</ul>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="https://malossov.top/2022/02/19/ProgramLearn/Java/AboutTomCat/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/uploads/avator.png">
      <meta itemprop="name" content="MALossov">
      <meta itemprop="description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="MAL'S_BLOG">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/2022/02/19/ProgramLearn/Java/AboutTomCat/" class="post-title-link" itemprop="url">TOMCAT的学习</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>

              <time title="Created: 2022-02-19 04:00:53" itemprop="dateCreated datePublished" datetime="2022-02-19T04:00:53+08:00">2022-02-19</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">Edited on</span>
                <time title="Modified: 2022-02-20 01:17:27" itemprop="dateModified" datetime="2022-02-20T01:17:27+08:00">2022-02-20</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E7%8E%AF%E5%A2%83/" itemprop="url" rel="index"><span itemprop="name">环境</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <ul>
<li>基本使用方法为：官网下zip,然后bin目录下startup</li>
<li>服务等高级安装方法见：<a target="_blank" rel="noopener" href="https://blog.csdn.net/wangmx1993328/article/details/81013715">(128条消息) Tomcat 下载安装，启动，停止，注册服务，开机自启_蚩尤后裔-CSDN博客_tomcat 服务启动</a><ul>
<li>注意服务启动必须设置JAVA<em>HOME，不设置就很惨[(128条消息) 配置JAVA_HOME</em>追风者-CSDN博客_java_home](<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_42017152/article/details/90732057">https://blog.csdn.net/qq_42017152/article/details/90732057</a>)</li>
</ul>
</li>
<li>更改用户名为：<a target="_blank" rel="noopener" href="https://blog.csdn.net/lubin100/article/details/81018054">(128条消息) 如何设置tomcat管理员的用户名和密码_这个人很吊的技术博客-CSDN博客_tomcat 用户名密码</a></li>
<li>更改GBK编码，不然都是乱码：<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_25775675/article/details/104839569">(128条消息) Windows 下Tomcat中文乱码解决_菜鸟小窝的博客-CSDN博客_tomcat 乱码</a></li>
<li>关闭命令为：./shutdown.bat</li>
</ul>
<h2 id="非常重要"><a href="#非常重要" class="headerlink" title="非常重要"></a><strong>非常重要</strong></h2><ul>
<li>开始使用tomcat的一晚上：2/7日晚，一直无法成功部署，原因不明，估计是<strong>pom.xml</strong>没有配置正确导致文件有些损坏的原因</li>
<li>找了一堆资料，一晚上，终于找到一种能用的：<ul>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/hyh17808770899/article/details/114628758?spm=1001.2101.3001.6650.2&amp;depth_1-utm_relevant_index=3">(129条消息) 在IDEA中使用maven创建第一个Servlet项目_雨云21的博客-CSDN博客</a></li>
<li>还有一个不能用但看着还挺科学的:<a target="_blank" rel="noopener" href="https://blog.csdn.net/huweiliyi/article/details/107637785">(129条消息) IDEA中用maven创建的Servlet项目_lucashu的博客-CSDN博客</a></li>
<li><a target="_blank" rel="noopener" href="https://www.cnblogs.com/guodao/p/9702488.html">关于servlet的@WebServlet注解。 - 过道 - 博客园 (cnblogs.com)</a></li>
</ul>
</li>
</ul>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="https://malossov.top/2022/02/19/ProgramLearn/Raspberry/Blog/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/uploads/avator.png">
      <meta itemprop="name" content="MALossov">
      <meta itemprop="description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="MAL'S_BLOG">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/2022/02/19/ProgramLearn/Raspberry/Blog/" class="post-title-link" itemprop="url">树莓派博客搭建基础</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>

              <time title="Created: 2022-02-19 04:00:53" itemprop="dateCreated datePublished" datetime="2022-02-19T04:00:53+08:00">2022-02-19</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">Edited on</span>
                <time title="Modified: 2022-02-20 01:28:12" itemprop="dateModified" datetime="2022-02-20T01:28:12+08:00">2022-02-20</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E5%89%8D%E7%AB%AF/" itemprop="url" rel="index"><span itemprop="name">前端</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="初始化相关"><a href="#初始化相关" class="headerlink" title="初始化相关"></a>初始化相关</h2><ul>
<li><a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/402382426">用树莓派服务器运行Hexo博客网页 - 知乎 (zhihu.com)</a>—-比较详细，甚至连怎么搞内网穿透都讲了<ul>
<li>hexo无法提交的小问题：<a target="_blank" rel="noopener" href="https://developer.aliyun.com/article/764974">hexo d命令报错：ERROR Deployer not found: git-阿里云开发者社区 (aliyun.com)</a>—-注意是在站点目录下（就是本地博客的目录中使用这个命令：<code>npm install hexo-deployer-git --save</code></li>
</ul>
</li>
<li><a target="_blank" rel="noopener" href="https://www.cnblogs.com/palance/p/5493201.html">使用hexo搭建博客并上传GitHub - palance - 博客园 (cnblogs.com)</a>看着还挺有用的——-其他有关博客的小知识，CSDN搬运的</li>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_41287260/article/details/97758641">(134条消息) Hexo新建标签、分类、归档等页面_荷塘月色-CSDN博客_hexo新建页面</a>————关于在blog中新建标签、分类、归档的东西哦<h3 id="在github上的初始化"><a href="#在github上的初始化" class="headerlink" title="在github上的初始化"></a>在github上的初始化</h3></li>
<li><a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/60578464">知乎：使用hexo在github上建立个人博客</a><h2 id="关于推送相关"><a href="#关于推送相关" class="headerlink" title="关于推送相关"></a>关于推送相关</h2><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_45667885/article/details/101084532">(135条消息) Hexo同时部署在GitHub、Coding、Gitee_Ashin Wang’s Blog-CSDN博客</a></li>
</ul>
<h2 id="给hexo安装主题"><a href="#给hexo安装主题" class="headerlink" title="给hexo安装主题"></a>给hexo安装主题</h2><ul>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_41160054/article/details/89473887">(135条消息) 给hexo安装主题_一颗西蓝花的博客-CSDN博客_hexo主题安装</a></li>
<li><strong>非常好的教程：</strong><a target="_blank" rel="noopener" href="https://neveryu.github.io/2016/09/03/hexo-next-one/">(ฅ&gt;ω&lt;*ฅ) Thank Vue~ Hexo-NexT搭建个人博客（一） | Never_yu’s Blog (neveryu.github.io)</a><ul>
<li>或者直接看Next的官方教程：<a target="_blank" rel="noopener" href="http://theme-next.iissnan.com/getting-started.html">开始使用 - NexT 使用文档 (iissnan.com)</a></li>
</ul>
</li>
</ul>
<h2 id="各种奇奇怪怪的教程"><a href="#各种奇奇怪怪的教程" class="headerlink" title="各种奇奇怪怪的教程"></a>各种奇奇怪怪的教程</h2><ul>
<li><a target="_blank" rel="noopener" href="https://haee.gitee.io/2021/02/18/hexo32/">hexo | 同时提交到 github 和 gitee | 犀牛的博客</a></li>
<li><a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/60578464">使用 Hexo+GitHub 搭建个人免费博客教程（小白向） - 知乎 (zhihu.com)</a></li>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_45667885/article/details/101084532">(135条消息) Hexo同时部署在GitHub、Coding、Gitee_Ashin Wang’s Blog-CSDN博客</a></li>
<li><a target="_blank" rel="noopener" href="https://www.cnblogs.com/palance/p/5493201.html">使用hexo搭建博客并上传GitHub - palance - 博客园 (cnblogs.com)</a>__不太靠谱的一个，从一开始就很讲的不太清楚哦</li>
<li><a target="_blank" rel="noopener" href="https://www.zhihu.com/question/59088760">如何用github page搭建博客？ - 知乎 (zhihu.com)</a></li>
</ul>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-Hans">
    <link itemprop="mainEntityOfPage" href="https://malossov.top/2022/02/19/ProgramLearn/Raspberry/Command/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/uploads/avator.png">
      <meta itemprop="name" content="MALossov">
      <meta itemprop="description" content="是很菜的人的很菜的博客捏，无栈工程学徒ing。">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="MAL'S_BLOG">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/2022/02/19/ProgramLearn/Raspberry/Command/" class="post-title-link" itemprop="url">树莓派命令</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Posted on</span>

              <time title="Created: 2022-02-19 04:00:53" itemprop="dateCreated datePublished" datetime="2022-02-19T04:00:53+08:00">2022-02-19</time>
            </span>
              <span class="post-meta-item">
                <span class="post-meta-item-icon">
                  <i class="far fa-calendar-check"></i>
                </span>
                <span class="post-meta-item-text">Edited on</span>
                <time title="Modified: 2022-05-25 20:20:57" itemprop="dateModified" datetime="2022-05-25T20:20:57+08:00">2022-05-25</time>
              </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">In</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E7%8E%AF%E5%A2%83/" itemprop="url" rel="index"><span itemprop="name">环境</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h2 id="保存命令到文件"><a href="#保存命令到文件" class="headerlink" title="保存命令到文件"></a>保存命令到文件</h2><p><a target="_blank" rel="noopener" href="https://linux.cn/article-12920-1.html">技术|如何将 Linux 终端中命令的输出保存到文件中</a></p>
<h2 id="关于开机自启动的命令"><a href="#关于开机自启动的命令" class="headerlink" title="关于开机自启动的命令"></a>关于开机自启动的命令</h2><ul>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/u014120401/article/details/78553611">(136条消息) 树莓派开机 延时运行sh脚本<em>一颗菜的兴趣爱好-CSDN博客</em>树莓派延时启动</a></li>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/feixuedongji/article/details/79891735">(136条消息) 树莓派程序开机自启动方法总结<em>老野的成长之路-CSDN博客</em>树莓派程序开机自运行</a></li>
<li><a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/100617585">Raspberry开机启动方法 - 知乎 (zhihu.com)</a></li>
</ul>
<h2 id="一些命令的总结："><a href="#一些命令的总结：" class="headerlink" title="一些命令的总结："></a>一些命令的总结：</h2><ul>
<li><strong>printf:</strong><a target="_blank" rel="noopener" href="https://www.runoob.com/linux/linux-shell-printf.html">Shell printf 命令 | 菜鸟教程 (runoob.com)</a><ul>
<li><a target="_blank" rel="noopener" href="https://linux.cmsblogs.cn/c/printf.html">printf 命令，Linux printf 命令详解：格式化并输出结果。 - Linux 命令搜索引擎 (cmsblogs.cn)</a></li>
<li>使用变量：<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_29603999/article/details/78245736">(136条消息) Unix Shell编程——将命令输出结果保存到变量中_shl的博客-CSDN博客_shell 命令输出到变量</a></li>
</ul>
</li>
<li>发送http请求：<a target="_blank" rel="noopener" href="https://www.cnblogs.com/kaleidoscope/p/9719841.html">Linux命令发送Http GET/POST请求 - kaleidoscopic - 博客园 (cnblogs.com)</a></li>
</ul>
<h2 id="不多说，今日的收获"><a href="#不多说，今日的收获" class="headerlink" title="不多说，今日的收获"></a>不多说，今日的收获</h2><ul>
<li><a target="_blank" rel="noopener" href="https://qastack.cn/ubuntu/596830/kill-process-with-htop">用htop终止进程 (qastack.cn)</a></li>
<li><a target="_blank" rel="noopener" href="https://www.cnblogs.com/yangxia-test/p/4371066.html">linux强制用户下线 - 阳光温暖了心情 - 博客园 (cnblogs.com)</a></li>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/ymtianyu/article/details/105973953">(100条消息) debian linux 添加永久环境变量_曲幽的博客-CSDN博客_debian export</a></li>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/jasonzhoujx/article/details/80468885">(100条消息) Debian普通用户获取root权限|sudo的安装与配置_盐味橙汁的博客-CSDN博客_debian sudo</a><ul>
<li>这个挺好的，甚至包含了教你如何配置root权限的</li>
</ul>
</li>
<li><a target="_blank" rel="noopener" href="https://blog.csdn.net/knock/article/details/4801360">(100条消息) linux中向其他用户终端发消息_knock的博客-CSDN博客</a></li>
</ul>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  


  
  <nav class="pagination">
    <a class="extend prev" rel="prev" href="/"><i class="fa fa-angle-left" aria-label="Previous page"></i></a><a class="page-number" href="/">1</a><span class="page-number current">2</span><a class="page-number" href="/page/3/">3</a><a class="page-number" href="/page/4/">4</a><a class="extend next" rel="next" href="/page/3/"><i class="fa fa-angle-right" aria-label="Next page"></i></a>
  </nav>



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          Table of Contents
        </li>
        <li class="sidebar-nav-overview">
          Overview
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="MALossov"
      src="/uploads/avator.png">
  <p class="site-author-name" itemprop="name">MALossov</p>
  <div class="site-description" itemprop="description">是很菜的人的很菜的博客捏，无栈工程学徒ing。</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives">
          <span class="site-state-item-count">35</span>
          <span class="site-state-item-name">posts</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
        <span class="site-state-item-count">4</span>
        <span class="site-state-item-name">categories</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/tags/">
        <span class="site-state-item-count">29</span>
        <span class="site-state-item-name">tags</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author motion-element">
      <span class="links-of-author-item">
        <a href="https://github.com/malossov" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;malossov" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://www.zhihu.com/people/yi-wan-nzlao-si-ji" title="知乎 → https:&#x2F;&#x2F;www.zhihu.com&#x2F;people&#x2F;yi-wan-nzlao-si-ji" rel="noopener" target="_blank"><i class="fab fa-zhihu fa-fw"></i>知乎</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://gitee.com/malossov" title="Gitee → https:&#x2F;&#x2F;gitee.com&#x2F;malossov" rel="noopener" target="_blank"><i class="fab fa-gitee fa-fw"></i>Gitee</a>
      </span>
  </div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        
  <div class="beian"><a href="https://beian.miit.gov.cn/" rel="noopener" target="_blank">蜀ICP备2023019138号 </a>
  </div>

<div class="copyright">
  
  &copy; 2022 – 
  <span itemprop="copyrightYear">2023</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">MALossov</span>
</div>
  <div class="powered-by">Powered by <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://pisces.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Pisces</a>
  </div>

        








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/pisces.js"></script>


<script src="/js/next-boot.js"></script>


  <script defer src="/lib/three/three.min.js"></script>
    <script defer src="/lib/three/three-waves.min.js"></script>


  













<script>
if (document.querySelectorAll('pre.mermaid').length) {
  NexT.utils.getScript('//cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js', () => {
    mermaid.initialize({
      theme    : 'forest',
      logLevel : 3,
      flowchart: { curve     : 'linear' },
      gantt    : { axisFormat: '%m/%d/%Y' },
      sequence : { actorMargin: 50 }
    });
  }, window.mermaid);
}
</script>


  

  

  


<!-- 页面点击小红心 -->
<script type="text/javascript" src="/js/src/love.js"></script>
<!-- 背景动画 -->
<script type="text/javascript" src="/js/src/particle.js"></script>


</body>
</html>
